package ma.cdm.flex.messaging;

import org.apache.log4j.Logger;

import flex.messaging.FlexSession;
import flex.messaging.FlexSessionListener;

public class CustomFlexSessionListener implements FlexSessionListener {

	 private static Logger log = Logger.getLogger(CustomFlexSessionListener.class);
	public void sessionCreated(FlexSession session) {

		System.out.println("Session created : " + session.getId());
		//session.setTimeoutPeriod(10);
	}

	public void sessionDestroyed(FlexSession session) {
		System.out.println("Session destroyed : " + session.getId());
		//session.setUserPrincipal(userPrincipal))
	}

}
